// 数据过期配置表
const dataExpiresConfig = (request) => {
	return {
		view_dataExpireConfig_add(query = {}) {
			return request('/admin/dataExpireConfig/add', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireConfig_page(query = {}) {
			return request('/admin/dataExpireConfig/page', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireConfig_edit(query = {}) {
			return request('/admin/dataExpireConfig/edit', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireConfig_del(ids) {
			return request('/admin/dataExpireConfig/del', {
				method: 'post',
				data: {
					batchesDel: ids,
				},
			})
		},
		view_dataExpireConfig_view(id) {
			return request(`/admin/dataExpireConfig/${id}`, {
				method: 'post',
			})
		},
	}
}
// 数据过期通知
const dataExpiresNotice = (request) => {
	return {
		view_dataExpireInform_add(query = {}) {
			return request('/admin/dataExpireInform/add', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireInform_page(query = {}) {
			return request('/admin/dataExpireInform/page', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireInform_edit(query = {}) {
			return request('/admin/dataExpireInform/edit', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireInform_del(ids) {
			return request('/admin/dataExpireInform/del', {
				method: 'post',
				data: {
					batchesDel: ids,
				},
			})
		},
		view_dataExpireInform_view(id) {
			return request(`/admin/dataExpireInform/${id}`, {
				method: 'post',
			})
		},
	}
}
// 数据过期通知记录
const dataExpiresNotifRecords = (request) => {
	return {
		view_dataExpireInformRecord_add(query = {}) {
			return request('/admin/dataExpireInformRecord/add', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireInformRecord_page(query = {}) {
			return request('/admin/dataExpireInformRecord/page', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireInformRecord_edit(query = {}) {
			return request('/admin/dataExpireInformRecord/edit', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireInformRecord_del(ids) {
			return request('/admin/dataExpireInformRecord/del', {
				method: 'post',
				data: {
					batchesDel: ids,
				},
			})
		},
		view_dataExpireInformRecord_view(id) {
			return request(`/admin/dataExpireInformRecord/${id}`, {
				method: 'post',
			})
		},
	}
}
// 数据过期提醒规则
const dataExpiresReminderRules = (request) => {
	return {
		view_dataExpireRemindRule_add(query = {}) {
			return request('/admin/dataExpireRemindRule/add', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireRemindRule_list(query = {}) {
			return request('/admin/dataExpireRemindRule/list', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireRemindRule_page(query = {}) {
			return request('/admin/dataExpireRemindRule/page', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireRemindRule_edit(query = {}) {
			return request('/admin/dataExpireRemindRule/edit', {
				method: 'post',
				data: query,
			})
		},
		view_dataExpireRemindRule_del(ids) {
			return request('/admin/dataExpireRemindRule/del', {
				method: 'post',
				data: {
					batchesDel: ids,
				},
			})
		},
		view_dataExpireRemindRule_view(id) {
			return request(`/admin/dataExpireRemindRule/${id}`, {
				method: 'post',
			})
		},
	}
}
const dataNoteTemplate = (request) => {
	return {
		view_dataNoteTemplate_add(query = {}) {
			return request('/admin/dataNoteTemplate/add', {
				method: 'post',
				data: query,
			})
		},
		view_dataNoteTemplate_list(query = {}) {
			return request('/admin/dataNoteTemplate/list', {
				method: 'post',
				data: query,
			})
		},
		view_dataNoteTemplate_del(ids) {
			return request('/admin/dataNoteTemplate/del', {
				method: 'post',
				data: {
					batchesDel: ids,
				},
			})
		},
		view_dataNoteTemplate_edit(query = {}) {
			return request('/admin/dataNoteTemplate/edit', {
				method: 'post',
				data: query,
			})
		},
		view_dataNoteTemplate_page(query = {}) {
			return request('/admin/dataNoteTemplate/page', {
				method: 'post',
				data: query,
			})
		},
		
		view_dataNoteTemplate_view(id) {
			return request(`/admin/dataNoteTemplate/${id}`, {
				method: 'post',
			})
		},
	}
}
export default ({ request }: any) => ({
	...dataExpiresConfig(request),
	...dataExpiresNotice(request),
	...dataExpiresNotifRecords(request),
	...dataExpiresReminderRules(request),
	...dataNoteTemplate(request)
})
